package user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import user.domain.question.vo.RankVO;
import user.domain.user.UserSubmit;

import java.util.List;

@Mapper
public interface UserSubmitMapper extends BaseMapper<UserSubmit> {
    UserSubmit selectCurrentExeResult(Long userId, Long examId, Long questionId, String currentTime);

    List<RankVO> selectTopFiveRank();
}
